package oneDay;

import java.util.ArrayList;

public class test1 {
    public static void main(String[] args) {
        ArrayList<String> test1 = new ArrayList<>();

        ArrayList<String> removeList = new ArrayList<>();
        for (int i=0;i<10;i++){
            test1.add(i+"");
        }

        System.out.println(test1);

        for (String i : test1) {
            if(Integer.valueOf(i)%2 == 0){
                removeList.add(i);
            }
        }

        test1.removeAll(removeList);


        System.out.println(test1);

    }
}
